package org.microser.gataway.zuul.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liujiamiao
 * @since 2020-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Permission对象", description="")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "父id")
    private String parentId;

    @ApiModelProperty(value = "菜单标题")
    private String permisstionTitle;

    @ApiModelProperty(value = "路由路径")
    private String permisstionPath;

    @ApiModelProperty(value = "组件路径")
    private String permisstionComponent;

    @ApiModelProperty(value = "权限名称")
    private String permisstionValue;

    @ApiModelProperty(value = "权限范围")
    private String permisstionScope;

    @ApiModelProperty(value = "功能权限/数据权限")
    private Integer permisstionFunctionAndData;

    @ApiModelProperty(value = "是否隐藏菜单")
    private Integer isHideMenu;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private String updateBy;


}
